﻿@{
    ViewBag.Title = "From Another Device";
}

<div class="col-lg-9 col-sm-9 right_part">
          <div class="additional-web-pages Faqs-Page personalization-page">
            
                @*Header not show in case of Android App and Also in IPhone App *@
               @if (Session[HomeCareLibrary.Constants.SessionConstants.MODE] == null)
              {
                  <div class="Android-tittleMOB title clearfix">
              <h1>From Another Device</h1>
              <div class="top-btn-per clearfix">
                <div id="back-button" class="back-button"><a href="#"><img class="back-btn" alt="back-btn" src="@Url.Content("~/images/personalization-images/back-btn.png")"> 
                        
                        <div class="back-mob-btn"><span class="glyphicon glyphicon-chevron-left"></span> Back</div>
                        </a></div>
                
              </div>
            </div>
              }
                @{var androidContent = string.Empty;
                  if (Session[HomeCareLibrary.Constants.SessionConstants.MODE] == null)
                 {
                     androidContent = "class= personalization-content";
                 }
                  else
                  {
                      androidContent = "";
                  }
                     }
            <div class="main-content">
              <div @androidContent>
                <div class="personalization-bg">
                  <div class="personalization-inn">
                  <div class="personalization-data HelpFaq-additional">
                 @{
                  var sessionValue = "";
                  if (Session[HomeCareLibrary.Constants.SessionConstants.MODE]!=null)
                  {
                      sessionValue = Session[HomeCareLibrary.Constants.SessionConstants.MODE].ToString();
                  }
                  else{
                      sessionValue = "";
                  }
                      <input type="hidden" value="@sessionValue" id="hdnSessionValue" />
              }
                  <div class="HelpFaq text-left">
                
                      <br />

                      <span style="margin-left:10px;">
                   JSON:
                    @if (ViewBag.JsonString != string.Empty)
                   {
                      @ViewBag.JsonString
                   }</span>

                       <br /><br />
                         <span>
                  Request Content-Type:
                    @if (ViewBag.ContentType != string.Empty)
                   {
                      @ViewBag.ContentType
                   }
                      </span>

                      <br /><br />
                         <span>
                  Request URL:
                    @if (ViewBag.Url != string.Empty)
                   {
                      @ViewBag.Url
                   }
                      </span>

                  </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          </div>
<script>
    $(function () {
        if ($("#hdnSessionValue").val() == "iphoneApp" || $("#hdnSessionValue").val() == "ipadApp" || $("#hdnSessionValue").val() == "androidApp") {
            $(".mobileMenu").hide();
        }
    });

</script>